<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <script>
        var subwin = null;
        setTimeout(function(){
          subwin = window.open("",'_blank','width=300,height=300,left=0,top=0');
        var x = window.outerWidth/2-150;
        var y = window.outerHeight/2-150;
        subwin.moveTo(x,y);
        
        },1000);
        setTimeout(function(){
            if(!subwin.closed)
            subwin.close();
        },20000);
        
        </script>
</body>
</html>